package com.kx.center.mappers;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.kx.center.entity.Account;

public interface AccountMapper {
	void insertAccount(Account account);
	void updateAccount(Account account);
	Account findAccountById(int id);
	Account findAccountByLoginName(String loginName);
	List<Account> findAccountByDepartmentId(int departmentId);
	List<Account> findCompanyAccountList(@Param("where")String where, @Param("order")String order, @Param("limitStr")String limitStr);
	
	List<Account> findEmailByCompanyId(int companyId);
}
